<?php
namespace Forms\Filter;

use Pinenut\Form\Filter;

class FalseToNullAction extends Filter
{
	public function run()
	{
		if ('false' === $this->request->value) {
			return null;
		}

		return $this->request->value;
	}
}